<include file="Public:header" />
<div id="zoneHeader">
    <h2>广告位管理</h2>
</div><!--/#zoneHeader-->
<div id="zoneBody">
    <div id="zoneBodySearch">
        <form id="formSearch" action="?c={$Think.const.MODULE_NAME}">
            <input type="hidden" name="sort" />
            <input type="hidden" name="sortdir" />
            <ul>
                <li><b>
                    <select name="search_item_1">
                        <option value="zone_id">广告位编号</option>
                        <option value="uid">站长编号</option>
                    </select> ：</b>
                    <input type="text" name="search_item_val_1" class="fW100p" />
                </li>
                <li><b>广告位尺寸：</b><input type="text" name="zone_width" class="fW40p" /> X <input type="text" name="zone_height" class="fW40p"/></li>
                <li>
                    <select name="plan_type">
                        <option value="">计费模式</option>
                        <volist name=":C('PLAN_TYPE')" id="vo">
                        <option value="{$vo}">{$vo|strtoupper}</option>
                        </volist>
                    </select>
                </li>
                <li>
                    <select name="zone_type">
                        <option value="">广告位类型</option>
                        <volist name=":C('AD_TYPE')" id="vo">
                        <option value="{$key}">{$vo|strtoupper}</option>
                        </volist>
                    </select>
                </li>
                <li><button type="button" id="as" class="btnSearch">查询</button></li>
                <li><button type="button" class="btnResetForm">清空表单</button></li>
            </ul>
        </form>
    </div><!--/#zoneBodySearch-->
    <div id="zoneBodyContent">
        <table class="table2">
            <thead>
                <tr>
                    <th><a href="javascript:;" sort="zone_id">编号</a></th>
                    <th><a href="javascript:;" sort="uid">所属站长</a></th>
                    <th>广告位名称</th>
                    <th><a href="javascript:;" sort="plan_type">计费模式</a></th>
                    <th><a href="javascript:;" sort="zone_type">广告位类型</a></th>
                    <th><a href="javascript:;" sort="size">尺寸</a></th>
                    <th>创建时间</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <volist name="page.record" id="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td><a href="?c=Siter&uid={$vo.uid}" target="_blank" title="查询站长信息">{$vo.uid}</a></td>
                    <td><a href="?c=Zone&a=detail&id={$vo.zone_id}">{$vo.name}</a></td>
                    <td>{$vo.plan_type|strtoupper}</td>
                    <td>{$vo.type|getAdTypeCn}</td>
                    <td>{$vo.width}X{$vo.height}</td>
                    <td>{$vo.create_time}</td>
                    <td class="tAction">
                        <!--<a href="?c=Zone&a=modify&id={$vo.id}">编</a>-->
                        <!--<a href="?c=Zone&a=del&id={$vo.id}" t="firm" m="确认删除此广告位吗？">删</a>-->
                    </td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<div id="zoneFooter">{:W('Page/info', [$page])}</div><!--/#zoneFooter-->
<include file="Public:footer" />
